package com.mp.approvalreq.entity;

/**
 * @program: approval-parent
 * @description 审批 关联记录 实体类
 * @author: xu1
 * @create: 2020-08-26 11:01
 **/
public class RelateHistory {
//Topic： Approval
//Tags： UpdateApprovalRelate
//Key:  Link、Unlink
//
//{
//	"companyId": xxx,
//	"contactId": xxx,
//	"requestId": xxx,
//	"objectId": xxx,
//        "objectType": xxx
//}

    private Integer companyId;

    private Integer contactId;

    private Integer requestId;

    private String objectId;   // 关联对象id

    private Integer objectType;   // 关联对象类型  0.任务;1.审批; 2.CRM……

    private Integer modifyType;//  1关联   0 是取消关联

    private String modifyTime;

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getContactId() {
        return contactId;
    }

    public void setContactId(Integer contactId) {
        this.contactId = contactId;
    }

    public Integer getRequestId() {
        return requestId;
    }

    public void setRequestId(Integer requestId) {
        this.requestId = requestId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public Integer getObjectType() {
        return objectType;
    }

    public void setObjectType(Integer objectType) {
        this.objectType = objectType;
    }

    public Integer getModifyType() {
        return modifyType;
    }

    public void setModifyType(Integer modifyType) {
        this.modifyType = modifyType;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
}
